<?php
/********************************************/
// This page contails all the setting values.
//defined in this page.
/********************************************/

//This is for DATABASE configuration//

if($_SERVER['SERVER_ADDR']=='127.0.0.1')
	{
		define("DB_HOST","192.168.1.87");
			
		define("DB_USERNAME","root");
			
		define("DB_PASSWORD","");
			
		define("DB_DATABASE", "Mykprisguide_website");
			
		define("URL_BASE","http://localhost/Mykprisguide/");
        define("URL_BASE_W","http://localhost/Mykprisguide/");	
	}
else if($_SERVER['SERVER_ADDR']=='192.168.1.87')
	{
		//your database for local
		define("DB_HOST","localhost");
		
		define("DB_USERNAME","root");
		
		define("DB_PASSWORD","");
		
		define("DB_DATABASE", "Mykprisguide_website");
		
		define("URL_BASE","http://192.168.1.87/Mykprisguide%20Website/web/");
        define("URL_BASE_W","http://192.168.1.87/Mykprisguide%20Website/web/");
	}
else if($_SERVER['SERVER_ADDR']=='115.124.116.11')
	{
			//database for live Server
		define("DB_HOST","localhost");
		
		define("DB_USERNAME","");
		
		define("DB_PASSWORD","");
		
		define("DB_DATABASE", "");
		
		define("URL_BASE","http://www.Mykprisguide.co.za/dev/");
        define("URL_BASE_W","http://www.Mykprisguide.co.za/dev/");
        
        
			
	}
else if($_SERVER['SERVER_ADDR']=='92.48.106.10')
	{
			//database for live Server
		define("DB_HOST","localhost");
		
		define("DB_USERNAME","");
		
		define("DB_PASSWORD","");
		
		define("DB_DATABASE", "");
		
		define("URL_BASE","");
        define("URL_BASE","");
			
	}
else
	{
		define("DB_HOST","localhost");
		
		define("DB_USERNAME","");
			
		define("DB_DATABASE","");
			
		define("DB_PASSWORD", "");
			
		define("URL_BASE","");
			
		define("URL_BASE_W","");
        
	}
    
    

define("BASE_PATH", dirname(__FILE__)."/");

define("URL_CSS",URL_BASE."css/"); //This is the url to the Templates folder

define("URL_JS",URL_BASE."js/"); //This is the url to the Templates folder

define("URL_PLUGINS",URL_BASE."plugin/"); //This is the url to the Plugins folder

define("PLUGINS_PATH",BASE_PATH."plugin/"); //This is the url to the Templates folder

define("MODEL_PATH",BASE_PATH."model/"); //This is the url to the 

define("CONTROLLER_PATH",BASE_PATH."controller/"); //THis is the path to the Controller

define("TEMPLATE_PATH",BASE_PATH."template/"); //THis is the path to the Controller

define("INCLUDE_PATH",BASE_PATH."includes/"); // The path to the includes folder

define("URL_IMAGES",URL_BASE."images/"); // The path to the images folder

define("URL_UPLOADS",BASE_PATH."uploads/"); // The path to the images folder
 
define("PER_PAGE", 15); //this is for pagination

define("SHOW_ERRORS" , "yes"); //This is toggle for showing or not showing mysql errors (can be used or ignored)

define("SITE_TITLE","Mykprisguide");

define("SALT","BlK2GP22HpIYYBV2mmdXd9IXnVZKa00y");

define("URL_EXT","html"); //This is the extension of the pages that will show in the site URLs

define("NOREPLY_ADD","Mykprisguide");

//Any new constants can be defined here as required. Please see to it that there is no conflict in the name and that fully ubderstandable comments are provided.
?>